/*
Copyright [2020] [https://www.xiaonuo.vip]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Snowy采用APACHE LICENSE 2.0开源协议，您在使用过程中，需要注意以下几点：

1.请不要删除和修改根目录下的LICENSE文件。
2.请不要删除和修改Snowy源码头部的版权声明。
3.请保留源码和相关描述文件的项目出处，作者声明等。
4.分发源码时候，请注明软件出处 https://gitee.com/xiaonuobase/snowy
5.在修改包名，模块名称，项目代码等时，请注明软件出处 https://gitee.com/xiaonuobase/snowy
6.若您的项目无法满足以上几点，可申请商业授权，获取Snowy商业授权许可，请在官网购买授权，地址为 https://www.xiaonuo.vip
 */
package vip.xiaonuo.modular.manage.poidata.param;

import lombok.Data;
import vip.xiaonuo.core.pojo.base.param.BaseParam;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
* POI数据参数类
 *
 * @author cy
 * @date 2022-07-28 19:28:29
*/
@Data
public class PoiDataParam extends BaseParam {

    /**
     * 主键ID
     */
    @NotNull(message = "主键ID不能为空，请检查id参数", groups = {edit.class, delete.class, detail.class})
    private Long id;

    private String taskId;
    private Integer year;
    /**
     * 门店名称
     */
    @NotBlank(message = "门店名称不能为空，请检查name参数", groups = {add.class, edit.class})
    private String name;

    /**
     * 地区名称
     */
    //@NotBlank(message = "地区名称不能为空，请检查countryName参数", groups = {add.class, edit.class})
    private String countryName;

    /**
     * 门店地址
     */
    //@NotBlank(message = "门店地址不能为空，请检查address参数", groups = {add.class, edit.class})
    private String address;

    /**
     * 省会
     */
    //@NotBlank(message = "省会不能为空，请检查provName参数", groups = {add.class, edit.class})
    private String provName;

    /**
     * 城市
     */
    //@NotBlank(message = "城市不能为空，请检查cityName参数", groups = {add.class, edit.class})
    private String cityName;

    /**
     * 门店电话
     */
    //@NotBlank(message = "门店电话不能为空，请检查telephone参数", groups = {add.class, edit.class})
    private String telephone;

    /**
     * 百度门店名id
     */
    //@NotBlank(message = "百度门店名id不能为空，请检查uid参数", groups = {add.class, edit.class})
    private String uid;

    /**
     * 标签(类型标识)
     */
    //@NotBlank(message = "标签(类型标识)不能为空，请检查tag参数", groups = {add.class, edit.class})
    private String tag;

    /**
     * 
     */
    //@NotBlank(message = "不能为空，请检查subTag参数", groups = {add.class, edit.class})
    private String subTag;

    private List<Long> subTagIds;
    private List<String> tagNames;
    private List<String> subTagNames;

    /**
     * 所属分类，如’hotel’、’cater’
     */
    //@NotBlank(message = "所属分类，如’hotel’、’cater’不能为空，请检查type参数", groups = {add.class, edit.class})
    private String type;

    /**
     * 总体评分
     */
    //@NotNull(message = "总体评分不能为空，请检查overallRating参数", groups = {add.class, edit.class})
    private BigDecimal overallRating;

    /**
     * 评论数
     */
    //@NotNull(message = "评论数不能为空，请检查commentNum参数", groups = {add.class, edit.class})
    private Integer commentNum;

    /**
     * 纬度
     */
    //@NotNull(message = "纬度不能为空，请检查lat参数", groups = {add.class, edit.class})
    private double lat;

    /**
     * 经度
     */
    //@NotNull(message = "经度不能为空，请检查lng参数", groups = {add.class, edit.class})
    private double lng;

    /**
     * 街景图id
     */
    //@NotBlank(message = "街景图id不能为空，请检查streetId参数", groups = {add.class, edit.class})
    private String streetId;

    /**
     * 是否有详情：1有，0没有
     */
    //@NotNull(message = "是否有详情：1有，0没有不能为空，请检查detail参数", groups = {add.class, edit.class})
    private Integer detail;

    /**
     * poi的详情页
     */
    //@NotBlank(message = "poi的详情页不能为空，请检查detailUrl参数", groups = {add.class, edit.class})
    private String detailUrl;

    /**
     * poi商户的价格
     */
    //@NotNull(message = "poi商户的价格不能为空，请检查price参数", groups = {add.class, edit.class})
    private BigDecimal price;

    /**
     * 团购数
     */
    //@NotNull(message = "团购数不能为空，请检查grouponNum参数", groups = {add.class, edit.class})
    private Integer grouponNum;

    /**
     * 页码
     */
    //@NotNull(message = "页码不能为空，请检查page参数", groups = {add.class, edit.class})
    private Integer page;

    /**
     * 是否有效 0-无效  1-有效
     */
    //@NotNull(message = "是否有效 0-无效  1-有效不能为空，请检查isEnabled参数", groups = {add.class, edit.class})
    private Integer isEnabled;

    /**
     * 认领次数
     */
    //@NotNull(message = "认领次数不能为空，请检查receiveNum参数", groups = {add.class, edit.class})
    private Integer receiveNum;

    /**
     * 网格
     */
    //@NotBlank(message = "网格不能为空，请检查grid参数", groups = {add.class, edit.class})
    private String grid;

    /**
     * 创建人
     */
    //@NotNull(message = "创建人不能为空，请检查createUserId参数", groups = {add.class, edit.class})
    private Integer createUserId;

    /**
     * 创建时间
     */
    //@NotNull(message = "创建时间不能为空，请检查createDate参数", groups = {add.class, edit.class})
    private String createDate;

    /**
     * 更新人
     */
    //@NotNull(message = "更新人不能为空，请检查modifyUserId参数", groups = {add.class, edit.class})
    private Integer modifyUserId;

    /**
     * 更新时间
     */
    //@NotNull(message = "更新时间不能为空，请检查modifyDate参数", groups = {add.class, edit.class})
    private String modifyDate;

    /**
     * 
     */
    //@NotBlank(message = "不能为空，请检查downLocation参数", groups = {add.class, edit.class})
    private String downLocation;

    /**
     * 
     */
    //@NotBlank(message = "不能为空，请检查upLocation参数", groups = {add.class, edit.class})
    private String upLocation;

    private String proCode;
    private String citCode;
    private String regCode;

    private Double scale;
    private String sampleSQL;

    private boolean exactLngLat;
    private Double lng1;
    private Double lng2;
    private Double lat1;
    private Double lat2;
}
